import { createRoot } from 'react-dom/client'
import './assets/iconfont/iconfont.css'
import App from './App.tsx'
import { Provider } from 'react-redux'
import RouterView from './router/routerView.tsx'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import './index.css'
import { store } from './store/index.ts'

createRoot(document.getElementById('root')!).render(
  <ConfigProvider locale={zhCN}>
    <Provider store={store}>
      <RouterView>
        <App />
      </RouterView>
    </Provider>
  </ConfigProvider>
)
